package com.javacrafting.mifos.domain;

import java.util.Set;

public class LoanProductImpl extends ProductImpl implements LoanProduct {

	private InterestType interestType;
	private Set<LoanProductFund> loanProductFunds;

	public LoanProductImpl() {
		// default constructor for hibernate
	}

	public InterestType getInterestType() {
		return interestType;
	}

	public void setInterestType(InterestType interestType) {
		this.interestType = interestType;
	}

	public String interestRateTypePropertyKey() {
		return interestType.interestRateTypePropertyKey();
	}

	public Set<LoanProductFund> getLoanProductFunds() {
		return loanProductFunds;
	}

	public void setLoanProductFunds(Set<LoanProductFund> loanProductFunds) {
		this.loanProductFunds = loanProductFunds;
	}
}
